<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>update</title>
</head>
<style>
    input{ display: block;
       height: 50px;
        border-radius: 10px;
        margin-top: 10px;
    }
</style>
<body>

<form  method="post"  action="/update" style="margin: auto ;display: block;width: 200px;">
    <h1>id:${updateStudent.studentId}</h1>
    <input type="text" style="display: none;" value="${updateStudent.studentId}" name="studentId">
    <input type="text" placeholder="name:${updateStudent.studentName}" name="studentName">
    <input type="text" placeholder="nickname:${updateStudent.studentNickname}" name="studentNickname">
    <input type="text" placeholder="password:${updateStudent.studentPassword}" name="studentPassword">
    <input type="submit" value="修改" style="margin: auto; width: 100px;">
</form>

</body>
</html>